package com.dk.mapper;

import com.dk.pojo.CodeRule;
import com.dk.pojo.CodeRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CodeRuleMapper {
    int countByExample(CodeRuleExample example);

    int deleteByExample(CodeRuleExample example);

    int deleteByPrimaryKey(Long ruleId);

    int insert(CodeRule record);

    int insertSelective(CodeRule record);

    List<CodeRule> selectByExample(CodeRuleExample example);

    CodeRule selectByPrimaryKey(Long ruleId);

    int updateByExampleSelective(@Param("record") CodeRule record, @Param("example") CodeRuleExample example);

    int updateByExample(@Param("record") CodeRule record, @Param("example") CodeRuleExample example);

    int updateByPrimaryKeySelective(CodeRule record);

    int updateByPrimaryKey(CodeRule record);
}